<template>
  <div class="about">
    <h1 style=" color: black">This is an about page</h1>
    <h1 style=" color: black">This is an about page</h1>
    <h1 style=" color: black">This is an about page</h1>
    <h1 style=" color: black">This is an about page</h1>
    <h1 style=" color: black">This is an about page</h1>
    <h1 style=" color: black">This is an about page</h1>
    <h1 style=" color: black">This is an about page</h1>
    <h1 style=" color: black">This is an about page</h1>
    <h1 style=" color: black">This is an about page</h1>
    <h1 style=" color: black">This is an about page</h1>
    <!-- <el-carousel :interval="4000" type="card" height="200px">
      <el-carousel-item v-for="(item,index) in urls" :key="index">
        <el-image class="carousel-image" :src="item"></el-image>
      </el-carousel-item>
    </el-carousel>
    <el-carousel :interval="4000" type="card" height="200px">
      <el-carousel-item v-for="(item,index) in urls" :key="index">
        <el-image class="carousel-image" :src="item"></el-image>
      </el-carousel-item>
    </el-carousel> -->
    
    <h1>联系方式</h1>
  </div>
</template>
<script>
export default{
  data(){
    return{
      urls:[
        "https://img0.baidu.com/it/u=1965846470,1338084745&fm=253&app=138&size=w931&n=0&f=JPEG&fmt=auto?sec=1715533200&t=d954e9046a9dce635937383c21f0f509",    
        "https://img0.baidu.com/it/u=1965846470,1338084745&fm=253&app=138&size=w931&n=0&f=JPEG&fmt=auto?sec=1715533200&t=d954e9046a9dce635937383c21f0f509",    
        "https://img0.baidu.com/it/u=1965846470,1338084745&fm=253&app=138&size=w931&n=0&f=JPEG&fmt=auto?sec=1715533200&t=d954e9046a9dce635937383c21f0f509",    
        "https://img0.baidu.com/it/u=1965846470,1338084745&fm=253&app=138&size=w931&n=0&f=JPEG&fmt=auto?sec=1715533200&t=d954e9046a9dce635937383c21f0f509",    
        "https://img0.baidu.com/it/u=1965846470,1338084745&fm=253&app=138&size=w931&n=0&f=JPEG&fmt=auto?sec=1715533200&t=d954e9046a9dce635937383c21f0f509",    
        "https://img0.baidu.com/it/u=1965846470,1338084745&fm=253&app=138&size=w931&n=0&f=JPEG&fmt=auto?sec=1715533200&t=d954e9046a9dce635937383c21f0f509",    
        "https://img0.baidu.com/it/u=1965846470,1338084745&fm=253&app=138&size=w931&n=0&f=JPEG&fmt=auto?sec=1715533200&t=d954e9046a9dce635937383c21f0f509"    
      ]
    }
  }
}
</script>

<style>
.el-carousel__item h3 {
  color: #475669;
  font-size: 14px;
  opacity: 0.75;
  line-height: 200px;
  margin: 0;
}
.carousel-image {  
  /* 移除内边距和外边距 */  
  padding: 0;  
  margin: 0;  
  /* 设置宽度和高度为 100% 以填满其父元素 */  
  width: 100%;  
  height: 100%;  
  /* 可能需要覆盖 Element UI 的默认样式 */  
  object-fit: cover; /* 如果图片比例与容器不匹配，这将确保图片覆盖整个容器 */  
}  
.el-carousel__item:nth-child(2n) {
  background-color: #99a9bf;
}

.el-carousel__item:nth-child(2n+1) {
  background-color: #d3dce6;
}
</style>
